<?php /* Smarty version 2.6.19, created on 2008-11-17 11:01:05
         compiled from header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 't', 'header.tpl', 44, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="global.css" rel="stylesheet" type="text/css" rev="stylesheet" />

	<script type="text/javascript" charset="utf-8" src="js/mootools-1.2b2.js"></script>
	<script type="text/javascript" charset="utf-8" src="js/growl.js"></script>
	<script type="text/javascript" charset="utf-8" src="js/main.js"></script>
	<?php echo '
	<script type="text/javascript">
	<!--
		function test(){}{
	//		alert(2);
		}		
	// -->
	</script>
	'; ?>



	<title>Simpleswitch</title>
</head>

<body>
	<div id="main">
		<div id="head"><img src="images/logo.png" /></div>
		<div id="menu">
			<?php if ($this->_tpl_vars['user_info']['username']): ?>
				<a href="?action=users" class="fleft first">Users</a><img src="images/border.jpg" alt="" class="fleft" />
				<a href="?action=ivr" class="fleft menuItem">IVR</a><img src="images/border.jpg" alt="" class="fleft" />	
				<a href="?action=ivr" class="fleft menuItem">Dial Plan</a><img src="images/border.jpg" alt="" class="fleft" />	
				<a href="?action=reports" class="fleft menuItem">Reports</a><img src="images/border.jpg" alt="" class="fleft" />
				<a href="?action=trunks" class="fleft menuItem">Trunks</a><img src="images/border.jpg" alt="" class="fleft" />
				<a href="?action=server" class="fleft menuItem">Server</a><img src="images/border.jpg" alt="" class="fleft" />
				<a href="?action=plugins" class="fleft menuItem">Plugins</a><img src="images/border.jpg" alt="" class="fleft" />
			<?php else: ?>
				<div class="fleft first">&nbsp;</div>
			<?php endif; ?>
			<span class="right"></span>
			<span class="fright login">
				<?php if ($this->_tpl_vars['user_info']['username']): ?>
					[<?php echo $this->_tpl_vars['user_info']['username']; ?>
] &nbsp;<a class="login" href="?action=do_logout">logout</a>
				<?php else: ?>
					<?php $this->_tag_stack[] = array('t', array('name' => 'matt')); $_block_repeat=true;smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>my name is %1<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_t($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>  Server: [ <?php echo $this->_tpl_vars['remote_addr']; ?>
 ]
				<?php endif; ?>
			</span>
		</div>
		<div id="center">